package com.china.vo;

import com.thoughtworks.xstream.annotations.XStreamAlias;

/**
 * Created by Administrator on 2016/5/9.
 */
@XStreamAlias("oschina")
public class MyOschina {
   private int catalog;
    private int newsCount;
    private int pagesize;
    private Newslist newslist;

    public MyOschina() {
    }

    public MyOschina(int catalog, int newsCount, int pagesize, Newslist newslist) {
        this.catalog = catalog;
        this.newsCount = newsCount;
        this.pagesize = pagesize;
        this.newslist = newslist;
    }

    public int getCatalog() {
        return catalog;
    }

    public void setCatalog(int catalog) {
        this.catalog = catalog;
    }

    public int getNewsCount() {
        return newsCount;
    }

    public void setNewsCount(int newsCount) {
        this.newsCount = newsCount;
    }

    public int getPagesize() {
        return pagesize;
    }

    public void setPagesize(int pagesize) {
        this.pagesize = pagesize;
    }

    public Newslist getNewslist() {
        return newslist;
    }

    public void setNewslist(Newslist newslist) {
        this.newslist = newslist;
    }

    @Override
    public String toString() {
        return "MyOschina{" +
                "catalog=" + catalog +
                ", newsCount=" + newsCount +
                ", pagesize=" + pagesize +
                ", newslist=" + newslist +
                '}';
    }
}
